﻿$(function () {

    // Datepicker
    $(".datePicker").datepicker({ showOn: 'both', buttonImage: "/Content/calendar.gif" });

    //hover states on the static widgets
    $('.navButtonsPosition, .navButtonsPositionFirst, ul#icons li').hover(
					function () { $(this).addClass('ui-state-hover'); },
					function () { $(this).removeClass('ui-state-hover'); }
				);

    //wireup any CKEditors
    $('.guiEditor').each(function () {
        CKEDITOR.replace($(this)[0].id, { height: '100px', width: '500px' });
    });

});